package cn.foolishbird.crow.mybatis.plus;

/**
 *
 */
public enum CrowEntityFieldEnum {

    CREATE_TIME("createTime", "创建时间属性名"),
    CREATE_BY("createBy", "创建人属性名"),
    UPDATE_TIME("updateTime", "修改时间属性名"),
    UPDATE_BY("updateBy", "修改人属性名"),
    DEL_FLAG("delFlag", "逻辑删除属性名"),
    ;
    /**
     * 属性名
     */
    private final String fieldName;

    /**
     * 属性说明
     */
    private final String fieldExplain;

    CrowEntityFieldEnum(String fieldName, String fieldExplain) {
        this.fieldName = fieldName;
        this.fieldExplain = fieldExplain;
    }

    public String getFieldName() {
        return fieldName;
    }

    public String getFieldExplain() {
        return fieldExplain;
    }
}